/*
 * Yotaku Shop - yshop
 * @author Creatint<creatint@163.com>
 * @copyright www.yotaku.cn 2016
*/

/*
    初始化样式
*/
*{
    -moz-box-sizing: border-box; /*Firefox3.5+*/
    -webkit-box-sizing: border-box; /*Safari3.2+*/
    -o-box-sizing: border-box; /*Opera9.6*/
    -ms-box-sizing: border-box; /*IE8*/
    box-sizing: border-box; /*W3C标准(IE9+，Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/
}
html {font-size: 62.5% !important;/*10 ÷ 16 × 100% = 62.5%*/height:100%;width:100%;}
body{font-size:14px;font-size:1.4rem;background: #fafafa;height:100%;width:100%;}
a,button{outline:none;}
i{font-style:normal}
.clearfix:after {content:"\200B"; display:block; height:0; clear:both; }
.clearfix { *zoom:1; }
.change{
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
}
.center {
    text-align:center;
}
.help{
    color: #737373;
}
/*
    标签
*/
.label-warning {
    background-color: #f0ad4e;
}
.label-success {
    background-color: #5cb85c;
}
.label-danger {
     background-color: #d9534f;
 }
.label-info {
    background-color: #5bc0de;
}
.label-primary {
    background-color: #337ab7;
}
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}



/*
    导航栏
*/
#header{
    font-family: "Lato","Helvetica Neue","Microsoft YaHei",Arial,Helvetica,sans-serif;
    margin: 0;
}
/*站点标题*/
.website-title{
    font-size:18px;
    font-size:1.8rem;
}
/*导航栏搜索框*/
.search-form{
    position: relative;
}
.search-input{
    border: 0px;
    background-color: rgb(239, 239, 239);
    height:25px;
    height:2.5rem;
    padding:6.5px 10px;
    padding: .65em 1em;
    font-size:12px;
    font-size:1.2rem;
    line-height:12px;
    line-height:1.2rem;
}
.search-btn{
    background-color: rgba(0,0,0,0);
    position: absolute;
    top: 0;
    right: 21px;
    right: 2.1rem;
    height: 25px;
    height: 2.5rem;
    border: 0;
    padding: 0;
    font-family: 'Glyphicons Halflings';
    font-size:13px;
    font-size:1.3rem;
    color: rgba(0,0,0,0.8);
}
.search-btn:before {
    content: "\e003";
}
@media (min-width: 768px){
    .search-input{
        width: 177px;
    }
    .search-input:focus{
        width:200px;
    }
}
/*下拉菜单*/
.dropdown-menu{
    right:0 !important;
    min-width:0px;
}
@media (min-width: 768px){
    #navbar-menu>ul{
        float:right;
    }
}
@media (max-width:768px){
    .search-form{
        margin: 5px 0;
        padding:0 15px;
        border:0;
    }
}

/*
    中部 main
*/
#main{
    margin:0;
    position: absolute;
    top: 52px;
    bottom: 0;
    left: 0;
    right: 0;
}
@media (max-width:768px){
    #main{
        position: relative;
        width:100%;
        top:0;
    }
}


/*
    左侧菜单栏
*/
#side-left{
    width:190px;
    float:left;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
}

#side-left .left-wrap{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right: -17px;
    overflow-y: auto;
    overflow-x: hidden;
}
@media (max-width:768px){

}
#header ul.menu{
    display:none;
}
#side-left div.menu{
    width:190px;
}

#side-left .menu>ul>li{
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #e5e5e5;
}
#side-left .menu li a{
    /*text-align:center;*/
    /*padding-left:25px;*/
    padding-left: 70px;
}
#side-left .menu li a i{
    /*width: 28px;*/
    /*padding-right: 10px;*/
    /*padding-left: 10px;*/

    font-size: 18px;
    font-size: 1.8rem;

    /*display: inline;*/
    /*vertical-align: middle;*/

    position: absolute;
    left: 29px;
}
#side-left .menu>ul>li>a:hover{
    background: rgba(0,0,0,0.03);
    box-shadow: 3px 0em 0em rgba(8, 8, 8, 0.3) inset;
}
#side-left .menu>ul>li>a:visited{
    background: rgba(0,0,0,0);
}
#side-left .menu>ul>li>a.active{
    background: rgba(0,0,0,0.08);
    box-shadow: 3px 0em 0em #337ab7 inset;
}
#side-left .menu>ul>li>a:active{
    background: rgba(0,0,0,0.2);
}
#side-left .menu>ul>li>a + ul{
    display:none;
}
#side-left .menu>ul>li>a.active + ul,#side-left .menu>ul>li>a.open + ul{
    display: block;
}
#side-left .menu a,.menu ul{
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
}
#side-left ul.sub>li>a{
    width: 160px;
    margin-left: 30px;
    box-shadow: 1px 0em 0em rgba(0, 0, 0, 0.1) inset;
}
#side-left ul.sub>li>a:hover{
    background: rgba(0,0,0,0.02);
    box-shadow: 2px 0em 0em rgba(8, 8, 8, 0.3) inset;
}
#side-left ul.sub>li>a:active{
    background: rgba(0,0,0,0.15);
}
#side-left ul.sub>li>a.active{
    background: rgba(0,0,0,0.06);
    box-shadow: 2px 0em 0em rgba(51, 122, 183, 0.5) inset;
}
@media (max-width: 768px){
    #side-left{
        height:100%;
    }
    #side-left .menu{
        display:none;
    }
    #header ul.menu{
        display:block;
    }
}



/*
    右侧内容栏
*/
#side-right{
    margin-left:190px;
    height:100%;
    overflow-y:hidden;
    overflow-x:hidden;
    position: relative;
}
#side-right .right-wrap{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    /*right: -16px;*/
    right:0;
    padding:10px 10px 0 10px;
    background: #ebebeb;
    overflow-y: auto;
    overflow-x: hidden;
}
@media (max-width: 768px){
    #side-right{
        margin-left:0;
        width:100%;
    }
    #side-right .right-wrap{
        position:relative;
    }
}

/*面板*/
.panel{
    border-radius:0;
    background-color: #fdfdfd;
}
.panel .panel-heading{
    font-weight: bold;
    font-size:12px;
    font-size:1.2rem;
}
.tab-pane{
    padding-top: 15px;
}



/*标签页*/
.nav-tabs > li > a{
    border-radius:0;
}

/*表单*/
.form-control{
    /*height:34px;*/
    /*height:3.4rem;*/
}




/*商品图片*/
#multimageUpload{
    border: 1px solid #ccc;
}
#multimageTab{
    background: #ebebeb;
}
.multimage-gallery{
    padding: 10px;
    background: #f5f5f5;
}
.multimage-gallery>ul>li{
    width: 90px;
    height: 90px;
    overflow: hidden;
    float:left;
    margin-left: 0;
    margin-right: 10px;
    border: 1px solid #CDCDCD;
}
.multimage-gallery>ul>li.primary{
    border: 1px solid #ffc097;
}
.multimage-gallery>ul>li>div.preview{
    z-index: 4;
    text-align: center;
    background-color: #fff;
    display: none;
    line-height: 88px;
}
.multimage-gallery>ul>li.has-img>div.preview{
    display:block;
}
.multimage-gallery>ul>li img{
    max-width: 90px;
    max-height: 90px;
}
.multimage-gallery .operate{
    background: rgba(33,33,33,.7);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2404040, endColorstr=#b2404040);
    z-index: 5;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 20px;
    display: none;
}
.multimage-gallery>ul>li.has-img:hover  .operate{
    display:block;
}
.multimage-gallery .operate i{
    color:#fff;
    padding: 0 8px;
    cursor:pointer;
}
#multimage{
    text-align: center;
    display: inline;
    position: relative;
}
    #multimage object{
        left: -20px;
    }
#multimage-button{
    display: inline;
}
    #multimage-button span{
        color: #333;
        background-color: #ececec;
        border-color: #ccc;

    font-size: 14px;
        font-weight: normal;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        padding: 6px 12px;
    }


#multimagetab2 .file-list .search-result ul.file li{
    width: 78px;
    height: 78px;
    display: inline-block;
    margin-left: 8px;
    margin-top: 8px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}
#multimagetab2 .file-list .search-result ul.file li a{
    padding:0;
    width: 78px;
    height: 78px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
#multimagetab2 .file-list .search-result ul.file li a img{
    width: 64px;
    height: 64px;
}
#multimagetab2 .file-list .search-result ul.file li a span{
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    padding: 2px 0;
    color: #fff;
    left: 0;
    bottom: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
#multimagetab2 .file-list .search-result ul.file li a:hover span{
    bottom:-30px;
}
#multimagetab2 .page{
    text-align: center;
}


/**
 *  焦点图片
 */
#focusUpload{
    /*border: 1px solid #ccc;*/
}
#focusTab{
    /*background: #ebebeb;*/
}
.focus-gallery{
    padding: 10px;
    background: #f5f5f5;
}
.focus-gallery>ul>li{
    width: 90px;
    height: 90px;
    overflow: hidden;
    float:left;
    margin-left: 0;
    margin-right: 10px;
    border: 1px solid #CDCDCD;
}
.focus-gallery>ul>li.primary{
    border: 1px solid #ffc097;
}
.focus-gallery>ul>li>div.preview{
    z-index: 4;
    text-align: center;
    background-color: #fff;
    display: none;
    line-height: 88px;
}
.focus-gallery>ul>li.has-img>div.preview{
    display:block;
}
.focus-gallery>ul>li img{
    max-width: 90px;
    max-height: 90px;
}
.focus-gallery .operate{
    background: rgba(33,33,33,.7);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b2404040, endColorstr=#b2404040);
    z-index: 5;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 20px;
    display: none;
}
.focus-gallery>ul>li.has-img:hover  .operate{
    display:block;
}
.focus-gallery .operate i{
    color:#fff;
    padding: 0 8px;
    cursor:pointer;
}
#focus{
    text-align: center;
    display: inline;
    position: relative;
}
#focus object{
    left: -20px;
}
#focus-button{
    display: inline;
}
#focus-button span{
    color: #333;
    background-color: #ececec;
    border-color: #ccc;

    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 12px;
}


#focustab2 .file-list .search-result ul.file li{
    width: 78px;
    height: 78px;
    display: inline-block;
    margin-left: 8px;
    margin-top: 8px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}
#focustab2 .file-list .search-result ul.file li a{
    padding:0;
    width: 78px;
    height: 78px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
#focustab2 .file-list .search-result ul.file li a img{
    width: 64px;
    height: 64px;
}
#focustab2 .file-list .search-result ul.file li a span{
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    padding: 2px 0;
    color: #fff;
    left: 0;
    bottom: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
#focustab2 .file-list .search-result ul.file li a:hover span{
    bottom:-30px;
}
#focustab2 .page{
    text-align: center;
}







/**
 *  订单表格
 */
.order-table{
    background: #F9F9F9;
    border: 1px solid #ECECEC;
    border-bottom:0;
    margin-bottom: 5px;
    width: 100%;

    color: #3c3c3c;
    font-size:12px;
    font-size:1.2rem;
}
    .order-table-head{

        text-align: center;
    }
    .order-table td,.order-table th{
        padding: 8px;
        vertical-align: top;
    }
.order .item table{
    margin:0;
}
.order .item .table > thead > tr > th, .table > tbody > tr > th,
.order .item .table > tfoot > tr > th, .table > thead > tr > td,
.order .item .table > tbody > tr > td, .table > tfoot > tr > td{
    border-bottom:0;
    border-top:1px solid #ddd;
    border-right:1px solid #ddd;
}
.order .item{
    /*border-bottom: 1px solid #dedede;*/
    margin-bottom: 10px;
}
.order .item .border_clear_top{
    border-top:0 !important;
}
.order .item .border_clear_right{
    border-right:0 !important;
}
.order .item .td-right{
     border-right:1px solid #dedede;
 }
.order .item-pic{
    width:80px;
    height: 80px;
}
.order-body{
    border-bottom:1px solid #ddd;
    border-left:1px solid #ddd;
}




/*商品表格*/
.table-hover:hover .desc .edit{
    display:block;
}

.list-head table th{
    text-align: center;;
}
.list-head table{
    width:100%;
}
.list-head .operations{
    background: none!important;
    border: none!important;
    margin: 10px 0;
    width: 100%;
    text-align: left;
}
.operation .pagination {
    margin:0;
}

/*商品搜索框*/
.list-search{
    padding: 10px 20px;
    background: #efefef;
    margin: 10px 0;
}
.list-search label{
    line-height: 25px;
}
.list-search input,.list-search select{

    height: 25px;
    margin: 5px 0;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.list-search select{
    padding:0 12px;
}
.list-search input.btn-default{
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.list-search div{
    width:160px;
}
.list-search .button{
    padding-right: 15px;
    padding-left: 15px;
    float: right;
}

.item-pic{
    width:54px;
    height:54px;
}


/*
        分类管理样式
*/
div.table-title{
    border-bottom: 1px solid #ddd;
}
.table-outer td{
    border-top:0 !important;
}
.table-title{
    padding: 10px 0;
    font-size:16px;
    font-size:1.6rem;
}
.table-outer{
    padding-top:10px;
}
.table-outer table tbody{
    border-top:0;
    margin:5px 0;
}
.cats-table{
    width:100%;
    text-align: left;
    table-layout: fixed;
}

.expand tr.cat-sub{
    display:none;
}
.add-cat{
    cursor:pointer;
    text-decoration: none;
}
.add-pic{
     cursor:pointer;
     text-decoration: none;
 }
.td-sort input{
    width: 50px;
}
.td-title input{
    width: 100px
}

.i-expend{
    padding:5px;
    cursor: pointer;
}
i.block{
    padding:0 10px;
}

tbody.sub-table{
    border-top:0 !important;
}
.td-operation a{
    font-size: 18px;
    padding: 2px 5px;
    cursor: pointer;
}

